package java_01_20201028;

import java.util.Random;
import java.util.Scanner;

public class zuoye6 {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		Random a=new Random();
		int  c;
		
		
		for(int i=1;i<=3;i++){
			c=sc.nextInt();
			int b=a.nextInt(10)+1;
			System.out.println(b);
			if(b==c) {
				System.out.println("caiduile");
			}
			
		}
		
		
	}
	
	
	
	
	
}
